Added tests for logging
Merge pull request #58 from cristianbica/logging-tests

Added tests for logging