adding tests and phpunit config