rmic gets a fork option. Most of the changes here are actually adding tests, which was surprisingly hard work.