moved create_post test to test_factory file