[test] Rewrite the tests in order to be iso on the tests after metadata changing