iOS test improvements