Fix random failure of interruption specs

The specs were actually feature tests rather than unit tests.
Furthermore testing with threads was the cause of the random failure.
So I've broken down them to real unit tests.
Merge pull request #238 from yujinakayama/fix-interruption-spec

Fix random failure of interruption specs