Python unittest-based testing infrastructure