Adding tests to cover 100% of template module