Failing behave as test

@danni
The scenarios are passing when run individually but the test fails. 
The stdout gets rewritten somehow, not sure about the cause.