Better handling and test case for models without nuisance parameters.