[Eden] Enhance Test Search helper function to add a function that will use the DAL to replicate the database query of an ADVANCED search
completed by: Liezl
mentors: Graeme
For more details review this discussion: https://groups.google.com/forum/?fromgroups=#!topic/sahana-eden/ArAVvh_NyqM