bi-directional test