Refs #1. Updated test case to replace with a space instead of removing
Refs #1. Remove non-printing characters