Added unittest for iPhone.