The modules team at Puppet are working on a project called Litmus. It is a framework for acceptance testing Puppet modules. It's being tested with supported modules, and MOTD is the first module that's been converted. See the commit here containing the associated changes.
Read the blog here.