Test of a two-dimensional liquid xenon TPC