Add tests for restore action and move event for eail_window