added tests for Domain's python_to_json_float