Added test for context LastResult when running async script.