Validation of atomic data using a plasma discharge