modifying _template_bb + adding test