Fixing build (make sure expected exception message test passes).