Adding first test with mocked res