add assertion to invalid utf character spec