internal integration testing hooks