Updated

completed test code for all the tools