I have Motorola Droid razr smart phone in which i got a virus called 'factory test' I have factory reset my phone and used antivirus for it but isn't removing from my phone what should be done to remove it completely?
Android devices are not susceptible to viruses as Windows machines are. To understand more see this Is an antivirus really needed for Android?. So, installing anti virus is not helping any, unless it scans for malware also
From the screenshot those icons showing factory reset with Android icons appear to be system packages. Though I have no idea why there should be multiple copies.
There is no need to be concerned on this account IMO
Android smartphones nowadays are very targeted by malwares - commonly from China. There is no way to remove them by a simple reset, since they are installed as system apps.
You have two solutions. First simply flashing your phone which will remove all malwares.
Or, If you're skilled, you'll need to root your phone and install BusyBox then use adb shell to remove all those packages. Or you can use system apps removers on Google play to get rid of them.