Better way to construct expected string, thanks inhies