More integration tests. Fixed gemspec.