Add new ProgramEntry tests.

Forgot to stage this in the last commit.