API request tests fixed.