fixed missing quotes in dao queries
added TestDao class