ReplaceInputStream ready + tests