Adding tests and fix for truthy stache text sections (#1065).