added tests for system stream capture