Fixed FieldElement.toByteArray() test to check byte[] length