up to 100% branch coverage in DAO layer