added integration tests (first step)