Rearranged, working iOS test