Test exception on non-existent collection

The second test, if uncommented, passes, but causes the text after it to fail. I'm completely stumped as to why this happens.