migrate testing framework