altered application.scala to print posts, test written to prove this