ios legacy testing tricks