Added tests and bootstrap file for phpunit