Added Scala implementation of previously added AppTest class