add dependencies back
fix directive testing