Made profiling messages more clear. Fixed two tests