removed databasehelper added a test case