Added test case for tool-switching