Unit tests for ProgramConfiguration exceptions.