tests for roleDAO, first version