batch job and new test code