Add validation check on entity length up to 256

I'm not a fan of `ThrownExpectations`, you mind using an `and` here? /nit