Remove test that expected an error that is not actually raised