exception's namespace strictly

In test case, exception's namespace strictly on `@expectedException`.