fixed ordering tests