Add tests and gemspec