test throws for blob constructor