Computer-Assisted Test Assembly Using Optimization Heuristics