Adjusted tests to add case insensitivity to search, updated controller t...

...o add case insensitivity