add test for Post model
slight reformatting for clarity in User model spec