Add tests for `takeBytesExactly`.