Added Test of the save functionality