added unittest for WStreamRange and RangeWStream and made them actually compile