minor change testing hooks