Add tests, update README to reflect options.