some general cleanups and modernizations

* add `license` to gemspec
* require latest assert
* modernize tests

No behavior changes - just cleanups.