Fix test + imply constraint on bitsPerElement