migrate from legacy mojo test