Merge "Add unit test for ProgramSelector"