         {attribute, Module.get_attribute(mod, attribute)}
       end
 
+    moduletag = Module.get_attribute(mod, :moduletag)
     tag = Module.delete_attribute(mod, :tag)
     async = Module.get_attribute(mod, :ex_unit_async)
 

      raise ArgumentError, "cannot register attribute #{inspect(name)} multiple times"
    end

    if Module.get_attribute(mod, name) do
      raise "you must set @#{name} after it has been registered"
    end
  end

  pluralization.
  """
  def register_test(%{module: mod, file: file, line: line}, test_type, name, tags) do
    unless Module.has_attribute?(mod, :ex_unit_tests) do
      raise "cannot define #{test_type}. Please make sure you have invoked " <>
              "\"use ExUnit.Case\" in the current module"
    end
