Fixed directive unit tests