Creating model unit tests for post validations.