added nested subsearch test