Feature/refactor post tests