gpgscm,tests: Add new functions to the test environment.