fix four test bugs: what we really expect is an AssertionError (not a ReferenceError re "actual"...)