Fixed failed tests in InspectorShorthandsSpec.scala.