fixed failing test from issue 269
fixed failing tests