(+) Test of db fails

Added a test that shows that there is a misunderstanding on how to use
the database or a bug.