Updated ic_test to use ic.capture()