Added assert to failing test case