Fixed test, fixed formatting, added phpunit dependency