test: new codegen tests, rename hello.
auto merge of #7839 : graydon/rust/new-codegen-tests, r=pcwalton

Add some codegen tests. Nothing too surprising.