add test case for MONDRIAN-1653

new fix after sending https://github.com/pentaho/mondrian/pull/105 first