add terms filter test