remove unneeded function
Use versioncmp in validation class
Add specs for pe_upgrade::validation