add test for blocking and unblocking