cleanup of osgi.embedded.scala.Script code during testing