Create api test file