allow using blocks, add tests for same