Writing a test without an if statement - Effect Community