function dict_to_frame
test test_helpers