added test_encoder stub
added test_decoder stub