Adding in some PHPUnit tests