Made API test work