added test for assertion failure