Extended test cases for new profiler properties
Cleanup
Tiny bugfix to avoid problems with a not initialized profiler