Fix .getStreamIds error in Test file