Added missing unit test.