registy: fixed typo and add unittest
eve: fix schema bug and added unittest
unittest: added template registry varialbles test case