remove outdated tests and fix typo in handling of pos terminal id