Assert::exception() returns exception