text: #include <algorithm>
  #include <vector>
  #include <iostream>
  #include <iterator>
  #include <cmath>
  #include <cstdlib>
  #include <catch2/catch.hpp>
  #include <utils.hpp>
  #include <wasm_config.hpp>
  #include <eosio/vm/backend.hpp>
  
  using namespace eosio;
  using namespace eosio::vm;
  extern wasm_allocator wa;
  
  BACKEND_TEST_CASE( "Testing wasm <custom_0_wasm>", "[custom_0_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.0.wasm");
     backend_t bkend( code );
     bkend.set_wasm_allocator( &wa );
     bkend.initialize(nullptr);
  
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_1_wasm>", "[custom_1_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.1.wasm");
     backend_t bkend( code );
     bkend.set_wasm_allocator( &wa );
     bkend.initialize(nullptr);
  
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_2_wasm>", "[custom_2_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.2.wasm");
     backend_t bkend( code );
     bkend.set_wasm_allocator( &wa );
     bkend.initialize(nullptr);
  
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_3_wasm>", "[custom_3_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.3.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_4_wasm>", "[custom_4_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.4.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_5_wasm>", "[custom_5_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.5.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_6_wasm>", "[custom_6_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.6.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_7_wasm>", "[custom_7_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.7.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_8_wasm>", "[custom_8_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.8.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  BACKEND_TEST_CASE( "Testing wasm <custom_9_wasm>", "[custom_9_wasm_tests]" ) {
     using backend_t = backend<std::nullptr_t, TestType>;
     auto code = backend_t::read_wasm( std::string(wasm_directory) + "custom.9.wasm");
     CHECK_THROWS_AS(backend_t(code), std::exception);
  }
  
  