have test use optionsFactory