Three-dimensional simulations of magnetic reconnection in slab geometry