useless code remove
adding unit tests for 3 more templates, including making them work