add phpunit tests to String