Added encoder debug to systemTest

The previous commit was because github is stupid
I made a new method because I cant find the old one, change this later