Adds unit test for empty string in terms