tests for warm and cold restart