Use === instead of == here -- it's a special operator in the ScalaTest library that throws a nicer error message if the two aren't equal