Adds a test which demonstrates a bug in combining OIPT and BeforeAndAfter

I don't actually understand what the problem is, but the before block is being executed more than once per test.

@bvenners any ideas?