refactoring test for democratic instruments