Tests for simpleSearch directive