adds test that tests creating posts