convert DND test files to AMD, and stop using deprecated APIs, refs #14201
more conversion of DND test files to AMD, refs #14201