Test getResults() when there are js errors