Implementation of AlertCommandProcessor + tests