Adding some PHPUnit tests