Add more tests for the rest of the test_files for to_dict