Change validation function in install plugin test.