Unit test for Scala plugin