Added classes BaseSupplier, NullStream, and Pair with unit tests.