Minor cleanup of tests
Added working addition
Added more tests, fixed various codegen issues
Fixed bad function argument loads
Added unittest for main driver to handle main() args