moved test/tools to test/. to prevent import errors