added unit tests for version helper