Add tests for resurrection