unit test added for interaction tool