Added unit test for continuing a previous run