add test for file-reader "error" event