* adapt templates * adapt config * add test as well * fix output type * fix cache false naming * finish tests * last fix