Started implementing integration tests.