added more PHPUnit tests