testing bidirectional