Fix test for IntegeretionSpec.scala and ApplicationSpec.scala