Use test.ifError for better error messages.