Improved exception handling in test macro.
Improved exception handling in test macro.

ksubramz/CppMicroServices,ksubramz/CppMicroServices,quinnlin/CppMicroServices,CppMicroServices/CppMicroServices,CppMicroServices/CppMicroServices,saschazelzer/CppMicroServices,ksubramz/CppMicroServices,ksubramz/CppMicroServices,CppMicroServices/CppMicroServices,CppMicroServices/CppMicroServices,CppMicroServices/CppMicroServices,mobileFX/CppMicroServices,mobileFX/CppMicroServices,saschazelzer/CppMicroServices,Heather/CppMicroServices,Heather/CppMicroServices,ksubramz/CppMicroServices,quinnlin/CppMicroServices