adding test cases for allocate and checkpoint