added unit tests for action added event