added test funtion for parsing using pandas