fixed the test_block test