added tests for PostTypeViewController