Added some tests for saving, created a file for search tests, and updated some comments