fixed test.rs with new option type