Added tests  to build script
Merge with build.sbt
Replace application singletons by scala test