Testing location class