daemon: Implement 'test_variables'.