fix funny newline problem w/ data file
fix more search commands tests + code formatting