test for finding by null

Fix for the following issue:

```PHP
$author = Author::find(0);
// throws RecordNotFound exception (because count(0) == 1)

$author = Author::find(null);
// does not throw an exception (because count(null) == 0)
```



You can move this line up and use `$class` instead of `get_called_class()` in the exception message.