Added testing flag for exit call
Merge pull request #5 from forceedge/bugfix-testable-exit

Added testing flag for exit call