Add extra step functions to emulator

Add stepCycles
Add stepInstructions
Fix some tests