Create unit test to cover maximum duration violation