Updated integration test to match recent changes to the definition of AgentSimMode. Also uncovered a bug in our implicit conversion for Scalars