Correct file location in test expected exception