Refactoring of LegoNXTTest

* removed unused variables
* removed unused statements
* refactoring of variable names

successful testrun: http://catrobatgw.ist.tugraz.at:8080/job/Catroid-custom-branch-test/79/