Added tests for runMany, fixed bad ref.