Implemented job competion. Added jobs resource test