Fixing broken script. Added functionality to take in arguments for test ...

...name and also ran phpcs