added a test for passing an object call from the db into a template