Implemented functional tests for delete record scenario