fixed kernels compilation; fixed scalatest version and tests;