added testing for state save function to share files with sharing server