Fixed process.exit
not exiting tested method
#452
Merged
process.exit
not exiting tested method
#452