Template.Controllers tests

- Added tests for datalist controller.