Virtual fence functionality working, passing tests