Use ruby 1.9 hash syntax
Unit test for time_until_closure