Tests fixes

After these fixes tests will pass. 
When first (require :weblocks-test) tests do not pass completely but when reloading environment all is ok.
Maybe some compile issue ?
Add it to github issues ?