test for load_and_save class