Added file saving and comparision for .scm file tests.