closure unit test fix