add test case & headset class

* add unit test for parser
* add headset class as a higher level interface