removed test for directive