unfinished NAL1 unit tests, optimizations