Move phpunit dep. into composer

Moved the phpunit dependency into composer. This means you don't have to have it install locally - and also the version will be correct to run tests