Basic function depth working. Known bug with definition of test() function.