Testing mirror segments for the James Webb Space Telescope