Allow template to be a function
Load basic mock data