Added Tests for Prefix, Suffix, and Contain search

Also added a getResult method to the test class which others can use to
test the results of their searches, if they wish. Fixed a few bugs that
were discovered by the testing in the Node class.