use separate files for error and pdu
added basic Pdu test