Update documentation, fix mistake in test.