ios6 testapp and uicatalog test fixes