Unit test fixed for new exception policy