fix runresourcetest