add whitespace escaping to function comparator in is-equal; add test specs for is-equal