add expect task in harness