Add in some PHPUnit tests