Fix folder entry test.
resource map test fixed.
Fix folder resource map test, add throws Exception to setUp.
Remove unnecessary printing.
Fix the SPARQL tests.
Improve resource serialization.
Fix a resource info loading bug.