Improved Cocoa test #17