Add unittests for Set and Retreive pack