added integration tests, currently failing