added  PHPUnit test.