Texas water plan being questioned by court