My DD is nearing 3 in 3 ish weeks and I have noticed this kind of behavior happening more and more...
I just try to keep my reactions as consistent as possible with firm boundaries. I try to stay as calm as possible too because the more emotional I am in response the worse she gets... I also try to remember that she is going through so many confusing changes and it won't last forever...
Hugs hun...