updated tests for networkRestController, added save and restore to fileController, and added tests for both