Add test class for ScalaCodeScanner