Fixed mustThrowAssertionError() without global flag