Added tests for empty database

Tests for all views with empty database
Fixed error with ArticleList with empty database