Add test(...) methods, for testing if a given sequence of symbols would lead to a final state.