test code for jpm