Updating examples with proper test harness