fix bar test