added integration test and gemspec