Added tests for assets_to_json_dict function