Fix test_lesser_minor unit test 

Fix failing test if minor and revision are 0.