Testing interrupts. Fixing motor test