Added log message
Minor changes including logging and formatting
Improved test
Incremented version number