setup invitation consume test exportdata util for code consistency