Removed parenthesis from assert statements so they do not look like functions. Replaces cond is False with not condition, in assert statements.