Fix issue #43
Add tests for logger
Bump version to 0.5.2