Tests for stubbing NSObject methods