Unit tests for job conf parsing.
Update advanced job sample to fix "bugs" discovered during testing limit parsing.