Added DB tests and DAO