test complete callback