add tests for tools