change type of declaration for group() and test(), rename them to Group and Test, rename _typeof to typeOf