Tests for closures and message sends