added template code for testing in other modules, added new test_init_exit file