some enum tests implemented
some dao  integration tests implemented , dao bugs fixed