Integration test (not very good, but compiling and running)