bar orient tests and minor fixes