bugfix for encounter tests