Removed mock_data and replaced with minimal mocked json response in tests.