Fixed NPE in content servlet. Added test for servlet with jmockit.