Separated sample programs from testing code.