moved tests
added filter method to dbHelper