def METHOD_NAME(self):
    post_args = {
        'search': 'Diesel',
        'search_on': 'metadata'
    }
    response = self.post('/redbiom/', post_args)
    self.assertEqual(response.code, 200)
    exp_artifact_biom_ids = {
        '5': ['1.SKD2.640178'],
        '4': sorted(['1.SKD2.640178', '1.SKD8.640184'])}
    response_body = loads(response.body)
    obs_artifact_biom_ids = response_body['data'][0].pop(
        'artifact_biom_ids')
    # making sure they are in the same order
    obs_artifact_biom_ids['4'] = sorted(obs_artifact_biom_ids['4'])
    self.assertDictEqual(obs_artifact_biom_ids, exp_artifact_biom_ids)
    exp = {'status': 'success', 'message': '', 'data': DATA}
    self.assertEqual(response_body, exp)
    post_args = {
        'search': 'inf',
        'search_on': 'metadata'
    }
    response = self.post('/redbiom/', post_args)
    self.assertEqual(response.code, 200)
    exp = {'status': 'success',
           'message': 'No samples were found! Try again ...', 'data': []}
    self.assertEqual(loads(response.body), exp)
    post_args = {
        'search': '4353076',
        'search_on': 'metadata'
    }
    response = self.post('/redbiom/', post_args)
    self.assertEqual(response.code, 200)
    exp = {'status': 'success',
           'message': ('The query ("4353076") did not work and may be '
                       'malformed. Please check the search help for more '
                       'information on the queries.'), 'data': []}
    self.assertEqual(loads(response.body), exp)