Add tests for request controller