Add a function to JQStore interface for enumerating jobs. Add test.