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.