added options.name function transform
restructured tests