#327 try scalatest for BDD testing,  polish