Some tests for delta encoder.