Complex test with lot of functions