fix version check in deprecated log function
enhance unit test for deprecated log function
avoid duplicate test
Merge pull request #121 from boegel/fix_deprecated_version

fix version check in deprecated log function