added Assert.fail to avoid AttributeError