added integration tests to cup