Fix initialization bug in pic24 unit tests