tests: continue porting tests to phpunit
tests: port more tests to phpunit