Python Testing Private Methods In Javascript