update test code for jenkis