Add test for eulerToByte.