Update swap test to core.