Convert ExUnit.Test and ExUnit.TestCase to structs