fixed scala style to run tests