add test cases for DAO

also add logger configuration and the first version of TemporalEntity