Custom select directive with basic test.