test memcheck and callgrind