fixed unit test for the ipad