Changing 'instance_eval' to 'instance_variable_set' in test to set version to empty string, and checking for nil as well as empty string