Lightweight stream-oriented test framework