Arrange some code basing in performance tests