I've thought a little about this in the past, but I don't see any advantage to doing this, since we'd be embedding test modules in the deployed application.