Adds the first stages of test stub compiling

Are we going to run into the same issue we have now, where if you don't use templating, we can't generate a test stub?