pack before test mojo implementation