Resolve test error due to pandas version