working on tests for load-template