Fixed bogus tests.
Fixed legacy assertTrue() should pass for non-empty non-Boolean values.
[fixup] Better registerStreamWrapper() deprecated warning message.