Add test and feature for error with weird body