Add a mappanel test originally from #61.

The test from @lellmer is ported over, the fix introduced in that particular
pull request is no longer needed.

All tests pass in IE8, FF 24 and Chrome 28.