Manage both good/bad release and date - Bug 996812

Add good/bad release in command line arguments and tests.
Please add a type='int' kwarg here.