Fix segfaulting of MojLunaServiceTest