ObjC helpers for writing tests