clean test hostname