updated test expecation to match correct error message