*8787* Migrate content creation tests to phpunit and enable on Travis

This pattern is used in a few other places to make sure that the $data array is properly populated. In this case (because there's only 1 required parameter) it's a little verbose but I'd rather keep it consistent.