More tests for @WakeLock

With help of a custom shadow, we can get the used flags and tag
for the WakeLock, so all parameters can be tested.
Merge pull request #1 from WonderCsabo/863_WakeLock

More tests for @WakeLock