Move the test helper to a subdirectory

This stops it from appearing in the plugins list.
Add show_in_json argument to register_post_type