Public sector, rail workers strike in test for Macron