Fix bug in VersionLower

Added unittest