Merge pull request #275 from levinas/ff

attempt to fix leak in kill_request
Merge branch 'ff' into kbase-dev
fix kill request for invalid jobs; add tests
Merge branch 'ff' into kbase-dev
add break loop when job is invalid; fix tests
fix tests: no error code in exit when invalid job id passed for kill