Added random tests for 'search'. Checking paired-end matching.