Fix test again and add pytest.raises statement
1 file changed