Update iOS tests and fix style