added test for insufficient amt