only check resourceId order since we may have two statuses at the same d
Merge pull request #28 from JPMoresmau/fix_order_test

only check resourceId order since we may have two statuses at the same d