pin and tests