Refactored test to use in to make order sort insensitive