parser: Implement misc sample flags
parser: fix id parsing
parser: update tester