reuse rt_init/rt_term in main

- runModuleUnitTests is no longer called from rt_init
  but needs to be called separatly