Tests for JobStorage class