Added profilingtests.