adding getSlotsFromDB() function

the function is invoked by getMatt()
creating test for saveMatt() and getMatt() functions