Add a mappanel test originally from #61.

The test form @lellmer is ported over, the fix introduced in that particular
pull request is no longer needed.
Merge pull request #195 from marcjansen/61-still-valid

Add a mappanel test originally from #61. (r=@weskamm)