Added unit tests for job and category repositories