Posts model initial validations and tests