Fix #71

It is better to replace `"Where field is empty"` with `new Error('Where field is empty');` and change test accordingly. Thanks.