test invalid database