Fixed error in func-test