Added function to databasehandler and tests

listofhashtags and test for the function