updating test templates to use IIFE wrappers

changing templates to use IIFE instead of changing BRJS to autowrap test classes (#604)