Added first end-to-end integration tests.