Fixed some bugs

- Added http response status 304 to sync_design_doc
- Added an input parameter to test_views, this is
  a workaround.

Signed-off-by: tanji <nicholastanjerome@gmail.com>