Some tests for jobtype API
Bugfix: Missing comma in log statement
More consistent filtering of jobtypes