added fungen test and fungen