Updated string testing of trainer class name to check actual byte length instead of static twelve.