Common kernel benchmark test plus some fixes in user space tests