coalesce: add test for functions. 2nd unit test breaks. see issue 48.