Added phpunit, mockery + a ton of tests.