Add validations + tests to posts