fix tools/tests