Package restore and asserts