Add PHPUnit tests and bootstrap