post  creation and test refactor
posts fully workig