Change subroutine to test Functions
Calculator changed the way functions are organized within the
application which broke the current Calculator test.
This fixes the subroutine to test for Functions and makes the
test reliable again.
Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/428