Adds initial tests for compile

There are no explicit tests for compile right now. These ones are for #228, and I will be working on adding more.