test for #229 also protect weird values