Adding some basic integration tests.