Updated exception text in test