Testing location if statement