Working test of device orientation.