More ui directive unit tests