added tests for tumpering and authentication backend; minor fixes; minor docs improvements