Add test for last command save