Add test for jobdetails