updated test suites and added utility to remove whitespace from beginning and end of strings