FIX: Testcase for settlement ref lengths