* add test * fix LogStateSetter * fix BlockLogs() usage in Draw module * allow BlockLogs() as a contestmgr * move test to more suitable location * guarantee log restoration on __exit__ * skip test if logs cannot be grabbed before block