fix jps tests