Added tests for al the logging functions! Started chapter 3 in the fp book. Only run the files in the tests dir as tests.