updating imls and tests to use gradle and scalatest