DO NOT MERGE: testing hooks