I think adding a separate test method for this case is a good idea. Have the name be something like ```test_run_pyfeast_invalid_method``` to indicate that it is still a test for ```run_pyfeast```, but that you're specifically testing an error case.