added tests for tool
added tests for tool