Lightweight framework for testing, debugging and problem reproduction