ENH: py.test

Moving us toward py.test use

Closes #655.
Yeah, I couldn't figure out how to use a decorator to skip the class-style tests. It's more consistent with the majority of our other tests, though, so I was okay with it. I didn't change the content of any of the tests, other than combining them into a single function by un-indenting the lines.