Add tests and phpunit setup