Add tests for discover method.