fixing failing unit test by moving the EDT part outside of the abstract resource loader