Cleanup addTest()

I saw the same misspelling that stephen-condon caught, but also noticed that the else part of this function was mess.

- Fixed "this.testSuite", supposed to be "this.testSuites"
- newStruct and tests are extra variables that aren't needed
- Using this.tempStruct so the ComponentObject is actually set. It wasn't being set on newStruct.
- Added a TODO tag to the comment about missing functionality.