Add more unit tests for save/load file and user input