Working with the Process.spawn function

defmodule Test do
  def main do
    spawn(Test.test())
  end

  def test do
     IO.puts("Test ok")
  end
end