Rewrited unit tests for iOS and rewrite werver response