changing TestApiController back to compile resource