ensuring integer comparison for major,minor and patch. Unit tests added/changed
added unit tests and improvd version comparison