Added custom message option to assertThrows feature