test numpy shared arrays