Remove unused variables.
Copy update - phpunit test