Add test utilities for {dis}connecting a block