add basic support for error event in aggregator and add test case for faulty activation through aggregator
add test case for testing faulty deactivate through aggregator