made a create constructor which take DB location insted of passing test DB location everytime