Added log msg
minor refactoring
better test runner