def METHOD_NAME(self, test_client, db_session,
                                                    auth_headers):
    """Should return the records filtered by status"""
    mine = MineFactory(minimal=True)
    now_submission_1 = NOWSubmissionFactory(mine=mine, status='Accepted')
    identity_1 = NOWApplicationIdentityFactory(now_submission=now_submission_1, mine=mine)
    now_submission_2 = NOWSubmissionFactory(mine=mine, status='Withdrawn')
    identity_2 = NOWApplicationIdentityFactory(now_submission=now_submission_2, mine=mine)
    now_submission_3 = NOWSubmissionFactory(mine=mine, status='Withdrawn')
    identity_3 = NOWApplicationIdentityFactory(now_submission=now_submission_3, mine=mine)
    now_submission_4 = NOWSubmissionFactory(mine=mine, status='Withdrawn')
    identity_4 = NOWApplicationIdentityFactory(now_submission=now_submission_4, mine=mine)
    get_resp = test_client.get(
        f'now-applications?mine_guid={mine.mine_guid}&now_application_status_description=Accepted&now_application_status_description=Withdrawn',
        headers=auth_headers['full_auth_header'])
    assert get_resp.status_code == 200, get_resp.response
    get_data = json.loads(get_resp.data.decode())
    assert len(get_data['records']) == 2
    assert all(
        str(submission.now_application_guid) in map(lambda x: x['now_application_guid'],
                                                    get_data['records'])
        for submission in [now_submission_1, now_submission_2])
    assert all(
        str(submission.now_application_guid) not in map(lambda x: x['now_application_guid'],
                                                        get_data['records'])
        for submission in [now_submission_3, now_submission_4])