Adapt tests with cmd args order and run all platforms