Added YAML test and API spec definition