Text this: Partially Ordered Automata and Piecewise Testability