wrote the test case to save and load the file and made it to pass