Make swap test faster