fix test, add test suites (phpunit)