Adding PHPUnit tests