Changed compile test to API test