Promised unit test.