Testing deviceorientation on the device