starting new tests for encoder and templates