Code test for contract job