Added more tests for archive api

Change-Id: I2b0752bc2593a944d42dde0ffe0ef9ce408228a5