Added tests after running code coverage on Scala code.