fixed SwatchTest