Added mocks for req, res so handle can be tested