added job controller unit tests