Add unit test for fortune.getFortune()
Use var statement for each variable declaration