Add spec test for interactive_run_state.rb