Added functionality to run scala tests.