add scala deps
replace scalatest deprecated methods
adding scala sugar