Fixed bug at test-clean target
Added profiling options