add tests for blocking decorator