Japan claims successful test of electromagnetic railgun