Add test case for destroy record without primary keys