test applocation