factored out helper method in robots.clj tests
Merge pull request #15 from richardharrington/refactor-robot-tests

factored out helper method in robots.clj tests