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

...but on the flip side, using the markup structure will make the test (even more) implementation-dependent and less readable. I prefer it this way, but I'm open to reassessing. If it's expensive to maintain or makes multilingual testing impractical, we can change it.