test.nss: Add test for function calls