Updated JobTitle class to fulfill test requirements.