Joachim make tests runnable

They fail but at leas they run with this. I'll make working tests when I'll learn how application works.