Test added for crossing the virtual fence