replace stream attr with readily available component attr
implemented Test::Decorator::FileStream