Add pattern configuration tests