The test of Mo and W mirrors under the long-term bombardment by ions of deuterium plasma