adds tests for user role and tool config