added the 'was' modifier which allows to retain test states.