add test directive