add a test for what's described in comment #4 of issue 29

http://code.google.com/p/json-path/issues/detail?id=29#c4