[scala] [runtime] Add extra tests for sorting of case classes
[FLINK-1292] Allow for longer normalized keys when using composite keys