Added check for the second argument for getSimpleVersion method with tests