test for issue #7.

But I think we should write the expression inline here because the function is now too small.