documented api
fixed wrong namespace for LogicException
decrease memory in test