wrapped test programs and examples in optional condition