Fixing dependencies.
Added tests to the JTAGStateMachine class.