Revised tests for rawDeviceEventListener.

In relation to issue #6.
No more segfault on raw events but I get bad data from time to time. Like something in the end of a data package or something. That's why i test for : and ; in the data string before parsing.