modified unit tests to work with string