Tests for database null