Robert,
Pretty much in any category or type of class, prior knowledge of a students past learning is a helpful tool. Pretesting is one (of many ways) of achieving that. I'll sometimes pretest, then do the same test at the end of a course to demonstrate just how far students have come.
Barry Westling