Fixes scalatest deprecations regarding "===" operator