Added Tests for HasStorage and HasStream methods.