generated welcome and posts controllers
added tests for posts controller