extended gateway interface of giftwrapping with extra testing