Print, but don't fail on deprecation notice

A simple change so that deprecation notices are printed, but don't cause test failures. A possible fix for issue #27.
I think a comment would be helpful here to explain why we're stripping out the deprecation notices (i.e., to prevent it from failing the test).