Test py to test ftreghandler