Fixed the tests for correct order

Properly check that thenRequire calls will execute in the correct order even when the network requests are fulfilled in a different order