gelocation test code