Change validation function in install plugin test.

Changed the used validation function in tests, which had been forgotten after a rename for the install plugin endpoint.