update unit test to follow exception message change