fixed unit test.
getDocument is supported if-match and if-none-match header.
But maybe server does not support. so, comment out.
remove debug code.
refactoring.