Adding correct flags in tests for resample method