add test for prejobs