fix directive unit test after translation changes