add spec for logger module
Merge pull request #31 from pmenglund/logger_spec

add spec for logger module