fixing run_spec test for --expose