Register post types before each unit test

Fixes #6501

see
https://core.trac.wordpress.org/changeset/29860/trunk/tests/phpunit/incl
udes/testcase.php, apparently we were #doingitwrong 🙈