test for issue #7.

Ah, that's true. Then this may worth to be a function.