Added phpunit and removed constructor from abstract handler