Add integration test that covers usage with a before block.