Refactoring tests for wf-bootstrap profiler