More unit tests, fixed Poco notification issue

Remove observer when algorithm fails, added unit tests for queue length.

Refs #10092