Added class for database preparation
Fixed tests for dictionary, word dao