Hello, I believe I just found something strange.
Issue: Sleep count and switching.
I am of the understanding that since generation 5 "sleep counts" reset upon switching, and so a non-early bird sleeping pokemon will always sleep the first turn it switches in (pre-existing sleep). This situation occurred on little cut where my opponent brought in a sleeping Timburr (not switch, was brought in after kill, though I am unsure if that matters.) The Timburr proceeded to awaken and attack the first turn it had a chance to do so.
The held item was a berry juice in this situation, so that should have had no effect on what happened here.
I am sorry I cannot provide a replay or screen shot, I was a little distraught when it occurred, and I have not reported a bug before (or even had an account here.) I also have not encountered this problem before.