Added dynamic package generation and scalatest dependency