test_funcspec: extend test for dependencies