fleshed out some more tests for run()