added integration tests for all scenarios