def METHOD_NAME(self):
    body = {'malformed': 'with garbage'}
    response = self.post('/api/v1/study/1/samples/status',
                         headers=self.headers,
                         data=body, asjson=True)
    self.assertEqual(response.code, 400)