Add test showing usage of ExpectedException Rule.