SD-404 : Write more behave tests, especially for error flows

Changed test config, added some improvements to error handling on tasks
and added more tests