use dict in place of ProfileFactory in test_post_profile