Adding invalid bit length tests