Fix jps tests