fix tests running on sbt