mock location handler