Add idetools tests

Adds a few tests cases to verify the output of idetools stays stable. In fact, a few of the current test cases are *wrong*, requiring further discussion on what their correct output should be.