fixed non passing tests for compound PK order, fixes #25