INCOMPLETE: Chocolate testing logic added to template