added some "integration" tests.