Refactoring the updateAgentPosition test to be scenario based