Prevented API requests in test environment