Seeking advice on testing object for optional fields - Effect Community