Added tests for get_host_state_file and create_host_state_file