test 400, clean up exception cases