Do not test profiling if the pstats module is not available