Testing the python hook