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

Fixed a comment