fix search tests
fix spawn-enoent test