Output index + search + test