Tests: Added unit tests for ByteArrayQueue, updated for DecodingService.

- Bug fixes in DecodingService and ByteArrayQueue.
- Added solution file for unit tests.