fix tool test