Created tests for program and segment views