added more PHPUnit tests to Client