a little style for the unit test
added debugging options.
Added tests problem 1 and problem 2