added integration dir and made 2 tests