added tests for block