Change "replace" to "mod_test"
Respect "enabled" variable for registered functions according to their respective modules