Database integrity tests

- Added test for initial database data, which should always be present
in the database.
- Separated Unit and integration tests to two different namespaces.