Reset flags after each assertion

Flags were not reset on chained assertions leading to false failures like the ones shown in #9. This commit resets the flags after each passed assertion. Closes #9