test ontestcomplete