Modified test for wrap(String), added test for toggle(fn, fn)