adding test to duplicate queue ordering issue, fixing issue, fixes #9