Fixing #7, added date to logger output, added new test