tests: Add `check-programs' target.