Fix Bug Where User Programs Never Ran

Also added test in basic_test to catch this next time.