Added phpunit config file
Reworked tests