test for ActivityDao