added qunit tests, suggestions now supports partial matching