KIJIMR-190. Replaced all expected exceptions in unit tests with try catch blocks.

Signed-off-by: Aaron Feldstein <afeldstein@wibidata.com>