trailing whitespace
error handling in update_existing_test_record