Add missing Encoder method to interface
Add Encoder checking to tests