fixing error on swag (handlebars helper) on a test