Added unit tests. One of template compiler not working