testsuite: fixed more unit test stuff