Clean up dup. volume test and add API test for the same Upstream-commit: 765c89791bb32cc992a17ad4d4dc7ae28163666d Component: engine