Slightly refactor Command tests, remove unused var
Fix Adaptor#setDataStreaming, improve test coverage