Fixed a bug where dataset.create_test_case did not filter out attributes that are not allowed to be set by the API.