toolbox: fix the test case