added more APIs and tests for tag DAO