Unit tests for Job and Segment

I could not remember why I added an int to assignJob() so I removed it