Add functional test for TDS parsing