fix directive test