fix test 1
find result by polling with setTimeout
find result using a callback
fix test 4, make a second fetch
fix test 5, log an error instead of data
fix test 6 and 7, log an error instead of data, exit if error
fix test 8, call a callback with the results
fix test 9, call the callback with the error
fix test 10, call the callback with the second error