path2: Add tests for the [u8]-based methods