comply to flake8
change tests for B response type