added CTest for testing packet encoding and decoding
added the test files for the enc/decoding