Minor changes on test for posts controller