Added tests for Update record