Added tests for both integrated and non-integrated encoders