testing hooks from online editor