Fix Larva.mock and add test