Improved end2end test in 'test_clerk'.
Improved end2end test in 'test_clerk'.

daviddeng/azrael,olitheolix/azrael,olitheolix/azrael,daviddeng/azrael,olitheolix/azrael,daviddeng/azrael,olitheolix/azrael,daviddeng/azrael,olitheolix/azrael,daviddeng/azrael