Adding phpunit to the dev requirements
Fixing class and tests