added test of callwrapper.py:build_wrapper() for functions with no arguments
refactored placement of switch's on else block return to handle
functions with no arguments correctly