Refactor tests, take advantage of commerce_license_set_time().