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