Mock libmultinest for testing.