Added first integration tests.