An $\epsilon$-tester given an input and a property, is defined as follows:
If the input holds the property then the tester should accept with probability at least $\frac 2 3$. Otherwise if the input is more than $\epsilon$ far from holding the property then the tester should reject with probability at least $\frac 2 3$. Meaning that if the input holds the property, with $f$ being less than $\epsilon$ far from not holding the property, the algorithm should accept with probability at least $\frac 2 3$. If we need to change at least ϵn values of $f$ in order to obtain a function satisfying the property then the algorithm should reject with probability at least $\frac 2 3$.
A tester with one-sided error is a tester, given an input, if the input holds the property then the tester accepts the input with probability 1.
A 2-injective function $f\colon [2n] \to [n]$ is a function such that for all $1 \leq k \leq n$ there exist $1 \leq i<j \leq 2n$ such that $f(i) = f(j)=k$ and there is no other $l \neq i,j $ such that $ f(l)=k $. Here $[m]$ for $m\ge1$ is the set of first $m$ positive integers, $\{1,2,\cdots, m\}$.
We can check that $f$ has more than $\epsilon$ of the input that do not hold the property iff $$\frac{2\left|\{k\in[n]: f^{-1}(k)=\emptyset\}\right| + \left|\{k\in[n]: |f^{-1}(k)|=1\}\right|}{2n} \gt \epsilon$$
We need to show that there exists $\epsilon$, for which an $\epsilon$-tester with one-sided error of a function $f\colon [2n] \to [n]$ for the "2-injective" property, requires $\Omega(n^{2/3})$ queries.
Unfortunately, searching online for articles and scientific papers about the topic yielded nothing, and I haven't had any success in solving this question myself. I managed only to show it for injective functions but the proof is almost straight-forward and trivial.
I'm pretty new at the field of property-testing so any help would be highly appreciated!