select directive unit test