[WIP] Add integration test

@manygrams
Yup.

Functions with names starting with Example will only be compiled, but not run. Functions with names starting with Test will actually be run.