fixing bug in Version Checker and updating the test case