added headers and testing framework (incomplete) for pairwise search