testsuite: fixed unit tests