Removed useless test method
Reseting key throws exception
Ran php-cs throw the code