Fix the gemspec, add License, test the register method

missing the filter group