added recommended hack for catch bug, exception unit tests