add assertions to profiling tests

Missing assertions added and printlines removed.