added test cases for the tools main methods