added job model and tests