refactor post factories and model specs