Add a test for the arrow operator

Bug #386