added four tests and posts controller