Lightweight unit-testing framework