test switching directions