Added ParallelTestExecution to all unit tests.
Refactored traits so that metrics and algorithms can be decorated with additional functionality.