Added specs for post controller