Proper port of the test for MONDRIAN-1605. I have also created a new utility call in the test context to create new calculated columns in tables.